package com.ychen.ruijee.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author ychen@gotop.cn
 * @date 2024-05-31 0:25
 */
@Data
public class Category implements Serializable {
    private static final long serialVersionUID = 1L;


    private Long id;
    // 1、菜品 2、是套餐
    private Integer type;
    private String name;
    private Integer sort;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
}
